package com.xzit.rcpyxt.mapper;

import com.xzit.rcpyxt.dto.BindUserDto;
import com.xzit.rcpyxt.dto.TeacherDto;
import com.xzit.rcpyxt.dto.TeacherList;
import com.xzit.rcpyxt.dto.TeacherListRequestDto;
import com.xzit.rcpyxt.entity.Teacher;

import java.util.List;

public interface TeacherMapper {

    public List<Teacher> selectByTeacherList (TeacherListRequestDto teacherDto);
    public int countByTeacherList (TeacherListRequestDto teacherDto);

    public int updateByTeacherOpenId(BindUserDto bindUserDto);
    public Teacher selectByTeacherUserInfo (int id);
    public Teacher selectByTeacherIsBingUser (String openId);

}